import numpy as np
def create_arrays():
    arr1 = np.array([1,2,3,4,5])
    print("=== 一维数组 ===")
    print("内容：", arr1, " 形状：", arr1.shape)
    arr2 = np.array([[1,2,3],[4,5,6],[7,8,9]])
    print("\n=== 二维数组 ===")
    print("内容：\n", arr2)
if __name__ == "__main__":
    create_arrays()